window: Fix an oversight
authorMatthias Clasen <mclasen@redhat.com>
Mon, 10 Aug 2020 14:51:47 +0000 (10:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 10 Aug 2020 16:53:41 +0000 (12:53 -0400)
commit17710709f98731d9d70ec63f9162292fa5f3fcc7
tree147dd9581ee9bbbca14d70cedb2163deece8ff9a
parentbc20fe3cca72b384e9002ac47503e606e7247121
window: Fix an oversight

Commit 658719a205bfcf moved the call to
gtk_window_compute_default_size() outside the
if (priv->needs_default_size)
but unfortunately, that function cleared that field,
so we never entered the branch.

Keep the setting of priv->needs_default_size in the
branch, where it belongs.
gtk/gtkwindow.c